# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy

class BilibiliGameItem(scrapy.Item):
    title = scrapy.Field()
    up_name = scrapy.Field()
    views = scrapy.Field()
    danmu = scrapy.Field()
    like = scrapy.Field()
    favorite = scrapy.Field()
    coin = scrapy.Field()
    share = scrapy.Field()
    video_url = scrapy.Field()

class KnowledgeItem(scrapy.Item):
    bvid=scrapy.Field()
    up_name=scrapy.Field()
    title = scrapy.Field()
    views = scrapy.Field()
    bullet_comments=scrapy.Field()
    likes=scrapy.Field()
    coins=scrapy.Field()
    stars=scrapy.Field()
    shares=scrapy.Field()

class BilibiliMovieItem(scrapy.Item):
    title = scrapy.Field()
    bvid = scrapy.Field()
    views = scrapy.Field()
    danmu = scrapy.Field()
    like = scrapy.Field()
    coin = scrapy.Field()
    favorite = scrapy.Field()
    share = scrapy.Field()
    video_url = scrapy.Field()

class BilibiliDance(scrapy.Item):
    title = scrapy.Field()      # 视频标题
    views = scrapy.Field()      # 播放量
    bullet_comments = scrapy.Field() # 弹幕数
    likes = scrapy.Field()       # 点赞量
    up_name = scrapy.Field()    # UP主名称
    video_url = scrapy.Field()  # 视频链接
    pubdate = scrapy.Field()    # 发布时间

    stars = scrapy.Field()  # 收藏数
    shares = scrapy.Field()  # 分享数
    coins = scrapy.Field()  # 投币数
    replies = scrapy.Field()  # 评论数

    # 其他详情字段
    description = scrapy.Field()
    duration = scrapy.Field()
    tags = scrapy.Field()
    pubdate_str = scrapy.Field()

class BilibiliShortplayItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    title = scrapy.Field()            # 标题
    views = scrapy.Field()            # 播放量
    bullet_comments = scrapy.Field()  # 弹幕量
    likes = scrapy.Field()            # 点赞量
    coins = scrapy.Field()            # 收藏数
    stars = scrapy.Field()            # 投币数
    shares = scrapy.Field()           # 转发数
